package javabasics.lambda;

/**
 * @Author suxiaoxiao
 * @Date 2019/6/3 23:58
 * @Version 1.0
 */
public class Student {

    /**
     * 姓名
     */
    private String name;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 身高
     */
    private Integer stature;

    /**
     * 特长
     */
    private SpecialityEnum specialityEnum;

    public Student(String name, Integer age, Integer stature) {
        this.name = name;
        this.age = age;
        this.stature = stature;
    }

    public Student(String name, Integer age, Integer stature, SpecialityEnum specialityEnum) {
        this.name = name;
        this.age = age;
        this.stature = stature;
        this.specialityEnum = specialityEnum;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getStature() {
        return stature;
    }

    public void setStature(Integer stature) {
        this.stature = stature;
    }

    public SpecialityEnum getSpecialityEnum() {
        return specialityEnum;
    }

    public void setSpecialityEnum(SpecialityEnum specialityEnum) {
        this.specialityEnum = specialityEnum;
    }

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", stature=" + stature +
                ", specialityEnum=" + specialityEnum +
                '}';
    }

}
